package com.DHH.Entity.Capital;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类CapitalSecurityGivebackState
 * 数据表capital_tb_security_giveback_state
 * 押金退还状态表
 * 2017-8-3 12:33:07
 * @author Administrator
 *
 */
@Table(name = "capital_tb_security_giveback_state")
public class CapitalSecurityGivebackState  implements Serializable {

	//
	private Integer id;
	//标记
	@NotNull(message = "标记不能为空")
	@Length(max = 12, min = 0, message = "标记长度为0-12个字符")
	private String mark;
	//名称
	@NotNull(message = "名称不能为空")
	@Length(max = 4, min = 0, message = "名称长度为0-4个字符")
	private String sname;


	public CapitalSecurityGivebackState(){

	}

	public void setId(Integer id){
		this.id=id;
	}

	public Integer getId(){
		return this.id;
	}
	public void setMark(String mark){
		this.mark=mark;
	}

	public String getMark(){
		return this.mark;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}
}
